// src/store/index.ts  
import { createStore } from 'vuex';  
import userModule from './modules/user';  
import chainModule from './modules/chain';
  
export default createStore({  
  modules: {  
    user: userModule,
    chain: chainModule  
  }  
});